<?php
$app_key = '3100595583';
$app_secret = 'd199e8d54604e965ff2f46bc52d6523f';
$redirect = 'http://www.mp920.com/api/weibo/response.php';
$url = 'https://api.weibo.com/oauth2/authorize'
		.'?client_id='.$app_key.'&redirect_uri='.$redirect
		.'&display=default&response_type=code';
$str = file_get_contents($url);
// var_dump($str);
// echo $str;
header('Location:'.$url);